package com.middlegroup.pay.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.middlegroup.common.mybatisplus.BaseEntity;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author pc123
 * @since 2019-01-04
 */
@TableName("t_merchant_log")
@Data
public class MerchantLog extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 账号
     */
    private String account;
    /**
     * 标题
     */
    private String title;
    /**
     * 执行的方法
     */
    private String methods;
    /**
     * 消息
     */
    private String message;
    /**
     * IP
     */
    private String ip;
    /**
     * 执行时间
     */
    private Long duration;
    /**
     * 请求参数
     */
    private String params;
    /**
     * 请求地址
     */
    private String url;

    public MerchantLog(String title, String methods, String message) {
        super();
        this.title = title;
        this.methods = methods;
        this.message = message;
    }
}
